//
//  CTMediator+Mine.m
//  Mine_Category
//
//  Created by CPX on 2018/8/28.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "CTMediator+Mine.h"

@implementation CTMediator (Mine)

- (UIViewController*)Mine_drawerViewController{
    NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
    UIViewController *ctr = [self performTarget:@"Mine" action:@"drawerController" params:params shouldCacheTarget:NO];
    if(!ctr) ctr = [UIViewController new];
    return ctr;
}

- (void)Mine_registerToken:(NSString *)token{
    NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
    params[@"token"] = token;
    [self performTarget:@"Mine" action:@"registerToken" params:params shouldCacheTarget:NO];
}

@end
